<?php
/*
 * by: phpstrom
 * 2021/7/30
 * 11:02
 * User: baoyuan996@163.com
 */

namespace App;

use Illuminate\Support\Facades\DB;

class Mongodb
{
    public static function connectionMongodb($tables)
    {
        return $users = DB::connection('mongodb')->collection($tables);
    }

}